package com.jacen.fzxs.entity;

import javax.persistence.Table;

@Table(name = "t_web_work")
public class WorkEntity extends BaseEntity {
	private String name;
	private String overview;//概述
	private String url;//图片资源
	private Integer position;//显示位置 0 轮播 1 排列
	private Integer status;//启用 0 禁用1
	private String memo;
	
	public static final class Position{
		/**
		 * flexslider 轮播
		 */
		public static final int FLEXS = 0;
		/**
		 * galleryitem 排列
		 */
		public static final int ITEM = 1;
	}
	
	public static final class Status{
		/**
		 * 开启
		 */
		public static final int START = 0;
		/**
		 * 禁用
		 */
		public static final int OFF = 1;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getOverview() {
		return overview;
	}
	public void setOverview(String overview) {
		this.overview = overview;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Integer getPosition() {
		return position;
	}
	public void setPosition(Integer position) {
		this.position = position;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}

}
